package asteroids.model.programs.statement;

import java.util.Map;

import asteroids.model.programs.type.*;
import asteroids.model.*;

public class Fire extends Action {

	public Fire(int line, int column) {
		super(line, column);
	}
	
 	public void execute(T type){
		if(type instanceof ShipType)
			((ShipType) type).getValue().fireBullet();
		setExecuted(true);
	}
 	
 	public String typecheck(Map<String, T> globals){
		return "";
	}
}
